Dynamic spasticity determines hamstring length and knee flexion angle during gait in children with spastic cerebral palsy.