Ventricular fibrillation detection by a regression test on the autocorrelation function