Modelling and strategic design of automatic intermodal freight terminals