X-ray diffraction and compositional studies of AgInS2 thin films obtained by spray pyrolysis