Ligand identification in titanium complexes using X-ray valence-to-core emission spectroscopy.