A general equilibrium model of structural change and economic growth, with application to south Korea