Distributed Coordination of a Multi-Agent System With Intermittent Communication: A Switched Systems Approach