Associations of cognitive condition with nutritional status in an elderly population: an analysis based on a 7-year database in Chongqing, the Southwest of China