Optimal determination of the vapor pressure critical exponent