Invariants defined by configuration space integrals