Synthesis and characterization of nickel ferrite magnetic nanoparticles