Functionalized core-shell nanoparticles for medical applications