On the slamming of ships