Synthesis and optical properties of Ni-doped zinc oxide nanoparticles for optoelectronic applications