Constrained 1D joint inversion of seismic surface waves and P-refraction traveltimes