A compact time-of-flight spectrometer for electrofission studies