Accuracy of pulse oximetry and capnography in healthy and compromised horses during spontaneous and controlled ventilation.