Infrared laser induced isomerization of methanol polymers trapped in nitrogen matrix. I. Trimers