Hard and soft nanoparticles for image-guided surgery in nanomedicine