Territorial Disputes and Their Resolution: the Case of Ecuador and Peru