Multiple ionization of He and Ne by 10 keV electrons as a function of the energy loss