Long-term outcomes of patients with extensively drug-resistant tuberculosis in South Africa: a cohort study