Membrane distillation in the treatment of aqueous solutions