Magnetic properties of CoO nanoparticles