Dynamic effects of regulation and deregulation in goods and labour markets