A special international court in Cambodia has upheld life sentences given to the two most senior surviving leaders of the Khmer Rouge.