Dementia linked to 2 key risk factors new study reveals