Role of the valence neutron in the 12C + 17O and 13C + 16O collisions