Assessment of recurrent laryngeal nerve function during thyroid surgery.