Synthesis, structural and optical characterization of Ni-doped ZnO nanoparticles