Radiant heat transfer in a cloudy atmosphere