What did the states have to do before the U.S. Constitution could take effect?