Core/shell magnetism in NiO nanoparticles