Structural change in agriculture – an equilibrium approach