Output synchronization of nonidentical linear multiagent systems