Nutritional status and cognitive function in frail elderly subjects