Separation of C2 hydrocarbons from methane in a microporous metal-organic framework