X-Ray Photoelectron Spectroscopy of Nanostructures