Direct measurement of the ionization quenching factor of nuclear recoils in germanium in the keV energy range