Why eating carrots, kale and sweet potatoes could prevent dementia