Theory of the flow of electrons and holes in germanium and other semiconductors