Impulsive loads on interconnected floating bodies