A CIP-based cartesian grid method for nonlinear wave-body interactions