ECG signal processing method