Measurements of vibrational relaxation and dissociation of oxygen with laser absorption spectroscopy with applications for energy transfer in nonequilibrium air