Valence band densities of states of CdIn2S4 and In2S3 from x-ray photoelectron spectroscopy