Modeling the coevolution of international and domestic institutions: Alliances, democracy, and the complex path to peace. (May 2016)