Gender-speci c association between unidirectional variation of cholesterol and cognitive decline: a longitudinal study of middle-aged and elderly adults