Design and implementation of optimal Fuzzy logic based controllers for automatic generation control in conventional and deregulated power system