Sulfur valence-to-core X-ray emission spectroscopy study of lithium sulfur batteries.