Light propagation in non-Hermitian optical structures