Nonthyroidal illness syndrome in acute pancreatitis patients: an 8-year cohort study