Detection of QRS complexes in ECG signals