Time-resolved photothermal and photoacoustic methods applied to photoinduced processes in solution