Actinide speciation with high-resolution X-ray absorption and inelastic X-ray scattering spectroscopy