Sloshing in Rectangular Tanks and Interaction with Ship Motions