Optoelectronical properties of indium sulfide thin films prepared by spray pyrolysis for photovoltaic applications