Predicting major outcomes in type 1 diabetes: a model development and validation study