Pesticide detection with covalent-organic-framework nanofilms at terahertz band.