Organization deterioration assessment from the surface ECG in the onset and termination of paroxysmal atrial fibrillation