Control of drug-sensitive and drug-resistant tuberculosis in resource-constrained settings