Researchers are working on membranes that could separate chemicals without using energy-intensive distillation processes.