Cohomology theories for complexes