Centralized coordination vs. partially-distributed coordination with Reo and constraint automata