Effect of crystal structure on optical properties of TiO2 films grown by atomic layer deposition