Synthesis of proanthocyanidins-functionalized Fe3O4 magnetic nanoparticles with high solubility for removal of heavy-metal ions