explain how earthquake waves provide information about the interior of the earth