Fabrication of ultra-thin 2D covalent organic framework nanosheets and their application in functional electronic devices