Iraq and Afghanistan violated just war theory, says Williams