Transfer of Polarized Light in an (Exo)planetary Atmosphere-Ocean System