Investigation of nonadiabatic dynamics in the photolysis of methyl nitrate (CH3ONO2) by on-the-fly surface hopping simulation.