Association of genetic risk and outcomes in patients with atrial fibrillation