Effect of thyroid function on COPD exacerbation frequency: a preliminary study