Assessment, management, and outcomes of diabetes in severe mental illness: investigations using electronic health records data resources