Preparation and Characterization of Stimuli-Responsive Magnetic Nanoparticles