Determination of Porosity of TiO2 Films from Reflection Spectra