Spectrum of diquarks in two-dimensional chromodynamics