Mitigation of false data injection attacks on automatic generation control considering nonlinearities