A Prediction Model for Adverse Outcome in Hospitalized Patients With Diabetes