Morphological and size effects of NiO nanoparticles via solvothermal process and their optical properties