Controllable preparation and photocatalytic activity of highly ordered ZnO nanoarrays