Dark matter searches in invisible Higgs boson decays with the CMS experiment: Analysing Higgs boson decays to invisible particles in ttH and VH final states and combining all final states using Run 1 and Run 2 CMS data