Tracking dynamic evolution of catalytic active sites in photocatalytic CO2 reduction by in situ time-resolved spectroscopy