Distributed Cooperative Control for UAV Swarm Formation Reconfiguration based on Consensus Theory