Spectral factorization of 2-block toeplitz matrices and refinement equations