arxiv Double constructions of Frobenius algebras, Connes cocycles and their duality