Substance use and mental diagnoses among adults with and without type 2 diabetes: Results from electronic health records data.