Effect of smoking on the survival of patients with lung cancer