The International Criminal Court has convicted former Congolese militia leader Germain Katanga of war crimes.