Use of the optical admittance function and its WKB approximation to simulate and evaluate transmittance spectra of graded-index colloidal films