Self-supported polymer monoliths for CO2 capture