Dynamics of modular neuromotor control of walking and running during single and dual task conditions