Hybrid multi-stage flash (MSF) and membrane distillation (MD) desalination system for energy saving and brine minimization