A mechanistic model for long-term immunological outcomes in South African HIV-infected children and adults receiving ART