Spectrum of k-string tensions in SU(N) gauge theories