During colonial times, Edenton served as the state capital beginning in 1722, and New Bern was selected as the capital in 1766. What was the state capital of North Carolina in 1722