Triazine-based covalent organic polymer as stable luminescent probe for highly selective detection of 2,4,6-trinitrophenol