How did the Gold Rush contribute to the diversification of western economies?