A longitudinal analysis of family migration and the gender gap in earnings in the United States and Great Britain