Diffuse reflection and transmission of light by the atmosphere in the case of anisotropic scattering