Assessing port competition via a cost-based logistic chain model