Quantum field theory and Hopf algebra cohomology