Direct molecular simulation of internal energy relaxation and dissociation in oxygen