Labor force heterogeneity and wage polarization: Italy and Spain