Efficient synthetic-seismogram generation in transversely isotopic, inhomogeneous media