Optical properties and defect chemistry of p-CuInS2