Electrical Properties, Optical Properties, and Band Structure of CuGaS 2 and CuInS 2