In what occupations did most Chinese immigrants work from the 1860s to 1890s? What was Chinese community life like in the cities, especially San Francisco?