Synthesis of decentralized adaptors for concurrent and distributed component-based systems