The long-term effects of COVID-19 on cognition