A Differentiable Newton Euler Algorithm for Multi-body Model Learning