Dynamic Security Analysis of Electric Power Systems: Passivity-Based Approach and Positive Invariance Approach