Hospitalization for pneumonia is associated with decreased 1-year survival in patients with type 2 diabetes results from a prospective cohort study