A pairwise strategic network formation model with group heterogeneity: With an application to international travel