Modulation of dendrite growth of cuprous oxide by electrodeposition