Global measurement of water waves by Fourier transform profilometry