Imperfect labor markets in a two-sector model of endogenous growth