Factors affecting smear conversion in tuberculosis management