History- and symptom-based prediction of pulmonary function and the presence of chronic obstructive pulmonary disease: development and validation of a nomogram