Text this: Associations between the METS-IR index and cognitive function in community-dwelling Chinese middle-aged and older adult individuals: a cross-sectional study