Membrane-type total heat exchanger performance with heat and moisture transferring in different directions across membranes