Stimuli-responsive hydrogels cross-linked by magnetic nanoparticles