When must all treaties and their amendments follow the official legal procedures of the United Nations?