Unlocking the Mystery of Capture Beat: Understanding ECG Waveforms