Gas Capture and Vapour Separation by Microporous Materials