Confining strings in SU(N) gauge theories