Infrared spectra of the chromates of magnesium, nickel and cadmium