Impact of COVID-19 infection on cognition and its association with neurological symptoms