A Finite-Depth Unified Theory of Ship Motion