A microprocessor-based device for synthesis of R-R interval values during ambulatory monitoring