Collision cross sections and nonequilibrium viscosity coefficients of N2 and O2 based on molecular dynamics