Output synchronization of heterogeneous multi-agent systems under switching topologies with an exponentially unstable leader