Condensation studies in membrane evaporation and sweeping gas membrane distillation