Optical dielectric constant inhomogeneity along the growth axis in ZnO-based transparent electrodes deposited on glass substrates