Gender in intergenerational educational persistence across time and place