Phosphate removal by anion binding on functionalized nanoporous sorbents.