An automated hybrid bioelectronic system for autogenous restoration of sinus rhythm in atrial fibrillation