Energy measurement of relativistic electron beams by laser Compton scattering.