Porous One-Dimensional Photonic Crystal Coatings for Gas Detection