Association of obesity and type 2 diabetes