Optimization of ships in shallow water with viscous flow computations and surrogate modeling