Assessment of female sex as a risk factor in atrial fibrillation in Sweden: nationwide retrospective cohort study