Vitamin D supplements could help prevent dementia, study shows