On the nonlinear dynamics of the traveling-wave solutions of the Serre system