X-ray Spectroscopy Tools for the Characterization of Nanoparticles