How did economic opportunities encourage the Chinese and the Irish to immigrate to the West Coast in the mid-1800s/early 1900s?