Seismic response analysis of laterally inhomogeneous ground with emphasis on strains