Size and surface effects on the magnetic properties of NiO nanoparticles.