Age of onset of obesity and risk of type 2 diabetes