Electrochemical deposition of ZnO nanowire arrays with tailored dimensions