Preparation of AgInS2 chalcopyrite thin films by chemical spray pyrolysis