Bosnian court jails ex-soldier over war crimes