Mass and heat transport in the two-phase Buckley–Leverett model