Association of metformin and mortality for patients with diabetes who are hospitalized with pneumonia