Depth inequalities for complexes