Measurement of the ratio Gamma(K-L ->gamma gamma)/Gamma(K-L ->pi(0)pi(0)pi(0)) with the KLOE detector