A Prym construction for the cohomology of a cubic hypersurface. Birational geometry of hypersurfaces. Lectures given at the ``School on Birational Geometry of Hypersurfaces'', Gargnano del Garda, Italy, March 19--23, 2018 