Mechanism of catalytic thioeterification from nickel complex with N-heterocyclic ligand