High-order interactions explain the collective behavior of cortical populations in executive but not sensory areas