Intergenerational social mobility and gender disparities by cohort : a comparative study of Spain and Chile