6-month consequences of COVID-19 in patients discharged from hospital: a cohort study