Radiative transfer in a two-layer slab with Fresnel interfaces