Integration of membrane distillation into heat paths of industrial processes