On the cohomology of torus manifolds