Einstein relation and linear response in one-dimensional Mott variable-range hopping