Smart bifunctional covalent organic frameworks for water treatment: Reversible colorimetric pH detection and photocatalytic removal of pollutants