Bosnian Croat war criminal dies after taking poison in court