Water-stable MOFs and hydrophobically encapsulated MOFs for CO2 capture from ambient air and wet flue gas