Why is pulse rate used to measure heart rate?