Trends in cognitive function before and after myocardial infarction: findings from the China Health and Retirement Longitudinal Study | Synapse