A probe-based method for measuring the transport coefficient in the tokamak edge region