Direct simulation of rovibrational excitation and dissociation in molecular nitrogen using an ab initio potential energy surface