Distributed time-varying formation control for linear swarm systems with switching topologies using an adaptive output-feedback approach