Comparative study of local versus global methods for 1D joint inversion of direct current resistivity and time-domain electromagnetic data