Separation of polar compounds using a flexible metal-organic framework.