Shifts on compact and discrete Lie groups:algebraic-topological invariants and classification problems