Stability analysis of Eulerian-Lagrangian methods for the one-dimensional shallow-water equations