Wage differentials in a dynamic theory of the firm