South Korea’s ex-president attends first day of criminal trial