Safe Dynamic Motion Generation in Configuration Space Using Differentiable Distance Fields