Defining risk of general surgery in patients with chronic obstructive pulmonary diseases