Optimization of the electrodeposition of the pure and cobalt doped copper oxide for solar cells and other applications