Electric conduction in n-type germanium and cadmium sulfide