Synchronization of switched neural networks with communication delays via the event-triggered method