Sex and gender differences in genetic and lifestyle risk and protective factors for dementia