Exchange of energy and momentum between gases at different temperatures