Radiative transfer in atmosphere with precipitating clouds