The Electronic Structures of Cobalt-containing Diatomic Molecules