Decoherence and preparation effects in mesoscopic systems