CRRES spectrometer for electrons and protons