Long-term HIV treatment outcomes and associated factors in sub-Saharan Africa: multicountry longitudinal cohort analysis