Factors related to in-hospital deaths in patients with tuberculosis.