Electron states in Ge and Si under uniaxial stress