CuInS2 thin films obtained by spray pyrolysis for photovoltaic applications