Non-steady-state photo-electromotive-force induced by dynamic gratings in partially compensated photoconductors