Vitamin D deficiency linked to mental decline