Effects of Ni concentration on structural, magnetic and optical properties of Ni-doped ZnO nanoparticles