Use of electrical conductivity experiments to study the phase diagram of carbon