Relationship between blood oxygen saturation and heart rate