Nucleosynthesis and the time dependence of fundamental couplings