An electronic interval recorder for measuring peripheral blood flow and heart rate