Synthesis and characterization of hybrid mesoporous materials to be used as environmental sensors