Temperature evolution of pentacene crystal structure and phonon dynamics