A comparison of thermal and dye dilution methods of determining cardiac output