UAV group formation collision avoidance method based on second-order consensus algorithm and improved artificial potential field