Collisional broadening and shift of spectral lines in quantum dot lasers