Transpulmonary thermodilution curves for detection of shunt