Factors influencing completion of treatment among pulmonary tuberculosis patients