Of the five permanent members of the UN Security Council, how many were parties to the treaty?