Biomedical applications of magnetic nanoparticles