Metal ion remediation by polyamidoamine dendrimers: a comparison of metal ion, oxidation state, and titania immobilization