Validation of the CO2 rebreathing method for measuring cardiac output in patients with hypertension or heart failure.