An adjoint Monte Carlo treatment of the equations of radiative transfer for polarized light