Time-reversal invariance and irreversibility in time-asymmetric quantum mechanics