QRS detection using So and Chan's algorithm.