Order-disorder or phase-separation transition: Analysis of the Au-Pd system by the effective site energy model