Metformin use and the risk of bacterial pneumonia in patients with type 2 diabetes