Synchronized closed-path following for a mobile robot and an Euler-Lagrange system