Optimization of two stage process for the growth of In2S3 CuInSe2 and CuIn Se1xSx2 thin films for solar cell application