Former S.Korean president denies charges in court