Synthesis and characterization of magnetic nanoparticles for biomedical application