Homology and Feynman integrals