Noble-gas broadening of vibration-rotation lines belonging to diatomic molecules—III. Theoretical calculations of CO linesshifts and widths