The escape probability of Auger and photoelectrons from solids