A core-shell-structured molecularly imprinted polymer on upconverting nanoparticles for selective and sensitive fluorescence sensing of sulfamethazine.