Waves in shallow water, with emphasis on the tsunami of 2004