Constrained Consensus in Continuous-Time Multi-Agent Systems