Non-abelian vortices on the torus