1D and 3D resistivity inversions for geotechnical investigation