Accuracy of the recording of pneumonia events in English electronic healthcare record data in patients with chronic obstructive pulmonary disease