Effects of in-depth inhomogeneities of the optical absorption spectra of a-Si:H films: theory and quantitative evaluations