Text this: Relationship of smoking cessation duration and cognitive function among middle-aged and older adults in China: a national cross-sectional study