Synthesis of a core–shell magnetic Fe3O4–NH2@PmPD nanocomposite for efficient removal of Cr(VI) from aqueous media