Production of microporous polymers by supercritical CO2