Switched observer-based dynamic event-triggered consensus of multi-agent systems under DoS attacks