Estimation of structural gravity quantile regression models