Cosmological model of interacting phantom and Yang–Mills fields