Theory for 1D GPR data inversion for a dissipative layered medium