Separation of C2/C1 hydrocarbons through a gate-opening effect in a microporous metal–organic framework