Metastable hydrogen molecules. IV. Vibrational analysis and spin–rotation interaction