Spectroscopic Studies of $${^1}\mathrm {\varSigma }^+$$ 1 Σ + States of HfH $$^+$$ + and PtH $$^+$$ + Molecular Ions