Moduli spaces of cubic threefolds and of irreducible holomorphic symplectic manifolds