Excess heating of 4He2+ and O6+ relative to H+ downstream of interplanetary shocks