Structural, optical and magnetic properties of Ni doped SnO2 nanoparticles