Radiative transfer for polarized light - Equivalence between Stokes parameters and coherency matrix formalisms