Task planning and execution for UAV teams