Multifunctional nanoparticles for photothermally controlled drug delivery and magnetic resonance imaging enhancement