Distributed formation control for multiple vertical takeoff and landing UAVs with switching topologies