Koopman operator based data-driven characterization and control of power system dynamics and stability