How pulse oximeters work, and why they sometimes do not