Valley-dependent spin polarization and long-lived electron spins in germanium