Local and semi-local vortices in the Yang–Mills–Chern–Simons model