Ultrafast structural dynamics along a phase transition path Photodetection: ionic glass at play to control the carrier density fo nanocrystal array