Ultrafast cage-induced spin flip processes in molecular photodissociation in matrices and clusters.