Theoretical Determination of Modal Damping Ratio of Sloshing Using a Variational Method