On the Fourier series decomposition of directional wave spectra