who reigned as emperor in germany in the late nineteenth century