Negotiated Settlement and the Durability of Peace: Agreement Design, Implementation, and Mediated Civil Wars