Which city was founded in 1624 as a commercial trading post by the Dutch, who called it New Amsterdam, and was a nation's capital from 1785 until 1790?