Transient UV pump-IR probe investigation of heterocyclic ring-opening dynamics in the solution phase: the role played by nσ* states in the photoinduced reactions of thiophenone and furanone.