Advanced X-ray Characterization of Next-Generation Energy Materials