Lyapunov functions , stationary distributions , and non-equilibrium potential for chemical reaction networks