Self-concordant functions for optimization on smooth manifolds