A method to predict ventricular fibrillation shock outcome during chest compressions