Patterns of engagement with the health care system and risk of subsequent hospitalization amongst patients with diabetes