Adaptive Neural Design of Consensus Controllers for Nonlinear Multiagent Systems Under Switching Topologies