Sulfate separation by selective crystallization of a urea-functionalized metal-organic framework.