Combination and QCD analysis of charm and beauty production cross-section measurements in deep inelastic ep scattering at HERA