Recognition of ventricular fibrillation using neural networks