Joint Inversion of Surface-wave Dispersion and P-wave Refraction Data for Laterally Varying Layered Models