Preparation and characterization of pH-responsive hydrogel magnetite nanocomposite