Electrocrystallization and characterization of CuInSe2 thin films