Atrial signal analysis and defibrillation threshold assessment in chronic persistent and reinduced atrial fibrillation