Relationship between arterial blood gases and spirometry in acute exacerbations of chronic obstructive pulmonary disease