Quantum detailed balance conditions with time reversal: three-level systems