A rapid four-dimensional resistivity data inversion method using temporal segmentation