type 2 diabetes thyroid