Performance of soil-pile-structure systems under seismic waves