Measurement of the ¯p/p ratio in the few-TeV energy range with ARGO-YBJ