He2+ and H+ dynamics in the subsolar magnetosheath and plasma depletion layer