Improved scattering formula for calculations of artificial night-sky illumination