Optical spectra of transition-metal carbonyls: chromium hexacarbonyl, iron pentacarbonyl, and nickel tetracarbonyl