Dihomology. I. Relations between homology theories