How does hypothyroidism affect diabetes?