Inversion of crustal seismic refraction and reflection data