Iterated bar complexes of E -infinity algebras and homology theories