Rodrigo Duterte, the former president of the Philippines, has appeared at the International Criminal Court, accused of crimes against humanity.