Chromium (VI) adsorption from wastewater using porous magnetite nanoparticles prepared from titanium residue by a novel solid-phase reduction method.