Decrease of thyroid function after ischemic stroke is related to stroke severity