Magnetite–hematite nanoparticles prepared by green methods for heavy metal ions removal from water