Supercritical processing of functionalized size selective microporous materials