Related factors of cognitive impairment in community-dwelling older adults in Beijing Longitudinal Study of Aging