From Galvanism to Electrodynamics: The Transformation of German Physics and Its Social Context