Probabilities of optical transitions in electronic vibration-rotation spectra of diatomic molecules