An equation for separating daily solar irradiation into direct and diffuse components