Transient infrared spectroscopy: a new approach to investigate valence tautomerism