Solid‐State Nanochannels Functionalized With Metal–Organic and Covalent Organic Frameworks: Applications in Sensing | Synapse