Cooperative control of autonomous tugs for ship towing