Anisotropic phonon scattering of electrons in germanium and silicon