where do seismic waves travel slowest and fastest?