Organizing peace: an algorithmic analysis of four centuries of international law and the decline of war.