A worldwide investigation of tuberculosis epidemics