Conjugacy classes in algebraic groups