Mechanisms of electron- and photon-stimulated desorption in alkali halides