Fourier transforms for polynomials