Tuning the structural, optical and electrical properties of NiO nanoparticles prepared by wet chemical route