New insights into the formation of ammonium nitrate from a physical and chemical level perspective