Improving cardiac rhythm with a biological pacemaker