Spectroscopic observation of rotationally quasibound HD+ ions