On the higher vibration-rotational levels of HD+ and H2 +