Surface sensitivity and angular dependence of X-ray photoelectron spectra