Characterization and magnetic properties of cobalt ferrite nanoparticles