Kenya's Supreme Court has unanimously upheld President Uhuru Kenyatta's election victory in a rerun vote that was held in October.