Raleigh is an early example in the United States of a planned city, chosen as the site of the state capital in 1788 and incorporated in 1792 as such. What year was it incorporated