Leaderless and Leader-Following Bipartite Consensus of Multiagent Systems With Sampled and Delayed Information