Sensing of aqueous phosphates by polymers with dual modes of signal transduction.