Predicting unplanned medical visits among patients with diabetes: translation from machine learning to clinical implementation