A fast low noise silicon detector for electron spectroscopy up to 1 MeV