how to lose weight with diabetes and thyroid