thyroid and diabetes