Rapid method for determination of shunt ratio using a thermodilution technique