The discrete wavenumber/finite element method for synthetic seismograms