Magnetic anomalies in NiO nanoparticles