Magnetic emulsions with responsive surfactants