South Korea's impeached President Yoon Suk-yeol has appeared in court to defend himself against an insurrection charge over his short-lived martial law decree.