Gravity model estimates of the spatial determinants of trade, migration, and trade-and-migration policies