Insulin resistance versus beta-cell dysfunction in the pathogenesis of type 2 diabetes