Variational calculus on sub-Riemannian manifolds