Simplified approach for the seismic response of a pile foundation