By 1900, 7,531 people lived in the city. What was Tucson's population in 1940