Cobalt-catalyzed intramolecular C–N and C–O cross-coupling reactions: synthesis of benzimidazoles and benzoxazoles | Synapse