Finite element analysis of seismic scattering problems