What was Detroit's population in 1778?