Hybrid materials with nanoscopic anion-binding pockets for the colorimetric sensing of phosphate in water using displacement assays.