On reduction of the wave-packet, decoherence, irreversibility and the second law of thermodynamics