Effects of preparing conditions on the electrodeposition of well-aligned ZnO nanorod arrays