Electrical conductivity of long-range–ordered alloys