Countries agree on historic oceans treaty to protect the high seas