Triple-ionised carbon associated with the low-density neutral hydrogen gas at 1.7 < z < 3.3: the integrated NHi–NCiv relation