Progress in the preparation of magnetic nanoparticles for applications in biomedicine