In situ monitoring of perovskite nanocrystal fluorescence lifetimes