Quantum extension of the Jarzynski relation: analogy with stochastic dephasing.