A two-step optimization model for the pre- and end-haulage of containers at intermodal freight terminals