Elements of group theory for physicists