A Prym construction for the cohomology of a cubic hypersurface. Complete sets of relations in the cohomology rings of moduli spaces of holomorphic bundles and parabolic bundles over a Riemann surface 