Wave-function approach to dissipative processes: are there quantum jumps?