Automatic imitation of the arm kinematic profile in interacting partners