Magnetic and fluorescent multifunctional chitosan nanoparticles as a smart drug delivery system