Cohomological consequences of (almost) free torus actions