How do thyroid disorders affect HbA1c levels?