Incoherent photon echo in spectroscopy of optically dense impurity media