A study of the atomic absorption spectra of an electrical discharge with spatially separate radiating and absorbing layers