Cohomological decomposition of compact complex manifolds and holomorphic deformations