diagnosing diabetes types