Cortical computations underlying planning, generating, and orchestrating complex cognitive-motor sequences