Preparation and properties of green‐light‐emitting CdS–CuGaS2 heterodiodes