Effect of size on structural, optical and magnetic properties of SnO2 nanoparticles