Ocean waves make boats and ships pitch and roll