Bosnian ex-general sentenced for war crimes