Thyroid function and metabolic syndrome