Classical singlet distribution function g(1)(z) for the liquid–vapour density transition