The surprising story behind the Apple Watch’s ECG feature