Thermogravimetric infrared analysis for the pyrolysis mechanism and shelf life of lycoramine hydrobromide