A network flow model for the dynamic and flexible berth allocation problem. (March 2015)