Numerical modelling and inversion of travel times of seismic body waves in inhomogeneous anisotropic media