Quantum-chemical calculations on the mechanisms of reactions of W and W+ with N2O