in what form of a wave does an earthquake's energy travel in the crust?