Dynamic-stability improvement of a multi-machine power system connected with a large-scale offshore wind farm using a generalized inified power flow controller