Precise measurement of Γ(KS→π+π-(γ))/Γ(KS→π0π0) with the KLOE detector at DAΦNE