Analysis of surface electrocardiograms in atrial fibrillation: techniques, research, and clinical applications