Studies on preparation and photo electrochemical characterization of spray deposited CdIn2S4 thin films and their use in storage cells