Application of COFs in capture/conversion of CO2 and elimination of organic/inorganic pollutants