Depth-dependent relation between hydraulic conductivity and electrical resistivity in geologic formations