Magnetic nanoparticles for local drug delivery using magnetic implants