Nonlinear ray dynamics in underwater acoustics