Scheduled and unscheduled hospital readmissions among patients with diabetes