Evidence of transient species occurring in the reduction process of trivalent lanthanides under 2.5 MeV electron irradiation by in situ cathodoluminescence and time-resolved photoluminescence