On a class of finite-dimensional compact abelian groups