Inelastic deuteron scattering from chromium andcobalt