The effect of CO−H2O collisions in the rotational excitation of cometary CO