Association of type 2 diabetes mellitus with lung cancer in patients with chronic obstructive pulmonary disease