Improvement of power system transient stability by optimum bang‐bang control of series and parallel resistors