Synthesis of nanoporous materials to dispense pheromone for trapping agricultural pests