Tuning of surface structure and particle morphology via electrochemical deposition