n-Dimensional algebras over a field with a cyclic extension of degree n