Covalent organic framework as fluorescent turn-on/off sensor and an account of operating sensing mechanism