Infrared spectra of carbonaceous chondrites and the composition of intertellar grains