On the application of the extreme value theory in ship's strength calculations