Hydrodynamic forces on a planing hull in forced heave or pitch motions in calm water