Time variation of fundamental couplings and dynamical dark energy