Older adults with low levels of vitamin D appear more likely to experience declines in thinking, learning and memory over a six-year period, according to a new study.