The Evolution of Economic Diversity