Optimization of an electrochemical photovoltaic cell based on CdSe/Gel electrolyte junction