Motivic Donaldson–Thomas invariants of the moduli stacks of parabolic Higgs bundles and bundles with connections