Cocycle Constructions for Topological Field Theories