Tuning the morphology of copper nanowires by controlling the growth processes in electrodeposition