Topological graph polynomials and quantum field theory