The transformation of trade: the sources and effects of regime change