Fluorescent magnetic nanoparticles as biosensors