Trends in cognitive function before and after stroke in China