Stabilization of the general two-trailer system