Radiative transfer for polarized light : equivalence between Stokes parameters and coherency matrix formalisms