Modularity in the motor system: decomposition of muscle patterns as combinations of time-varying synergies