Predicting the Risk of Severe Hypoglycemic and Hyperglycemic Events in Adults with Diabetes