seismic waves change____as they pass through the different layers of the earth​