Development of a direct contact heat exchanger for energy and water recovery from humid flue gas