Dimension and entropy in compact topological groups