Biomedical tools based on magnetic nanoparticles