Optical study on opaline thin films grown by vertical deposition