The influence of water depth on the midship bending moments of a ship moving in longitudinal regular head waves