The association of kidney function and cognitive decline in older patients at risk of cardiovascular disease: a longitudinal data analysis