Formation of copper indium diselenide by electrodeposition