Desalination of geothermal water by membrane distillation