Electrochemical treatment of CuInS2