Role of core needle biopsy as a first-line diagnostic tool for thyroid nodules: a retrospective cohort study