Temperature- and Composition-Dependent Valence Mixing of Sm in Cation- and Anion-Substituted SmS Observed by X-Ray Photoemission Spectroscopy.