Cerium oxidation state in ceria nanoparticles studied with X-ray photoelectron spectroscopy and absorption near edge spectroscopy