Slow dynamics model of compressed air energy storage and battery storage technologies for automatic generation control