Improvement of the beam quality of a diode laser with two active broad-area segments