Metal-organic framework based membranes for gas separation