Polymers and gels as molecular recognition agents.