Caffeine links both coffee and tea to lower dementia risk