Dynamics of lithium in germanium and compensated silicon