Patient and health service delays in initiating treatment for patients with pulmonary tuberculosis: retrospective cohort study