Morphology, optical and magnetic properties of Zn1−xNixO nanorod arrays fabricated by hydrothermal method