Structural and optical correlation of Ni doped ZnO nanorods