Patient-centred tuberculosis treatment delivery under programmatic conditions in Tanzania: a cohort study