Structural theory of liquid–vapour critical point with application to hard-core Yukawa fluids