Bargaining in the Shadow of the Law: Interstate and Supranational Dispute Settlement