Measurement of the mean energy of electrons in a beam of a low-energy line'ar accelerator