The dimerization of ammonia and amines