Philippines ex-president Duterte appears at court in the Hague after arrest