Validation of photoplethysmography as a method to detect heart rate during rest and exercise. (July 2015)