Countries agree historic oceans treaty to protect the high seas