Form and Function: X-Ray Scattering and Spectroscopy of Transition Metal-Based Nanoparticles