Radiative electronic transitions of rare gas molecular ions in cryomatrices