Polyionic gels: efficient heterogeneous media for metal scavenging and catalysis.