Ultraviolet finiteness of nonlinear two-dimensional sigma models on affine-metric manifolds