Thermally activated conductance in arrays of small Josephson junctions