End-to-End Differentiable Physics for Learning and Control