Seismic complex ray tracing in 2D/3D viscoelastic anisotropic media by a modified shortest-path method