Capital and Knowledge: Dynamics of Economic Structures with Non-Constant Returns