A scanning pulse reaction technique for transient analysis of the methanol-to-hydrocarbons reaction