Pulmonary function variables as predictors of survival in patients with amyotrophic lateral sclerosis