Nonlinear Long Waves in a Channel of Variable Section