Surface-sensitive characterization of diamond by ionization electron energy loss spectroscopy