Periodic groups and Lie algebras