Valence-Band X-Ray Photoemission of PbI2 and CdI2