A spatially adaptive total variation regularization method for electrical resistance tomography