Interactions between CN radicals and rare gas atoms