Measurement of the band gap by reflection electron energy loss spectroscopy