Association between residential greenness and cognitive function: analysis of the Chinese Longitudinal Healthy Longevity Survey