Theoretical modeling of ship motions and capsizing in large and steep waves