Spectral factorization of Laurent polynomials