Some aspects of the design of pile foundations under seismic motion