Complete reducibility and conjugacy classes of tuples in algebraic groups and Lie algebras