diagnosing type 2 diabetes