Factors associated with smoking among tuberculosis patients in Spain