Detection of prediabetes and type 2 diabetes mellitus risk