A stability criterion for nonlinear oscillations in power systems by Hopf bifurcation theory