in what year did detroit become a city?