Medium access control for collision-free flight in UAV formations.