Comparison of two smoking cessation interventions for inpatients