Leading a healthy lifestyle could reduce years with dementia, new study suggests