Joint optimization of carriage arrangement and flow control in a metro-based underground logistics system