The relationship between smoking and quality of life in advanced lung cancer patients: a prospective longitudinal study