Symmetry groups in quantum mechanics and the theorem of Wigner on the symmetry transformations