A decentralized architecture based on cooperative dynamic agents for online voltage regulation in smart grids