Cognitive alterations in COVID-19 survivors with and without invasive mechanical ventilation during hospital stay.