Symmetry in quantum mechanics