The relationship between intergenerational mobility and equality of opportunity