Gene therapy to treat cardiac arrhythmias