Structural gravity equations with intensive and extensive margins | Synapse