X-Ray Characterization of Nanostructured Materials