Two-state Reaction Mechanism of the Synthesis of Ammonia in the N2/H2/Ru Systems: A Theoretical Study