Thermoresponsive scaffolds fabricated using covalent organic frameworks for the selective removal of water contaminants†