Vibrational kinetics, dissociation and ionization of diatomic molecules under nonequilibrium conditions