Some applications of the slender body theory in ship hydrodynamics