Prediction and Control of Transient Instability Using Wide Area Phasor Measurements