Shape-selective pathways in methanol conversion over zeolite catalysts