Time-domain Fourier optics for polarization-mode dispersion compensation