Photoemission and energy loss spectroscopy on semiconductor surfaces