On the wave front solution of a competition–diffusion system in population dynamics