Lie Groups in Atomic and Molecular Spectroscopy