Automatic implantable cardioverter defibrillator