glycemic management type 1 and type 2 diabetes