Torture and the laws of war