Preparation of carbamates via cobalt-catalyzed oxidative carbonylation of aromatic or aliphatic primary amines and aliphatic secondary amines