Which of the following seismic waves travel through solid and liquid layers of Earth?