Development of Nile red-functionalized magnetic silica nanoparticles for cobalt ion sensing and entrapping