New synthesis procedure of dye containing materials for gas optical sensors