Ocean wave theory including wave spectra, statistics, irregular seas, and wave transformation for offshore engineering