Integral conditions for the vanishing of cohomology of open sets in C^n