A Real-Time Algorithm for PPG Signal Processing During Intense Physical Activity