Gravar-mail: A QRS Detection and R Point Recognition Method for Wearable Single-Lead ECG Devices