Consensus-Based Distributed Particle Swarm Optimization with Event-Triggered Communication