A game theoretical analysis of port competition