Title: Endogenous labour market segmentation in a matching model