Reconstruction of one-dimensional lossy dielectric profiles