when was north carolina added to the union