Insulating and metallic spin glasses: a comparative study of the dynamics by neutron scattering