Effects of water vapor and trace gas impurities in flue gas on CO2 capture in zeolitic imidazolate frameworks: The significant role of functional groups