Effect of drug resistance on the generation of secondary cases of tuberculosis.