X-Ray, kinetic and optical properties of thin CuInS2 films