Sulfur-modified porous covalent organic polymers as bifunctional materials for efficient fluorescence detection and fast removal of heavy metal ions