Porous Nanostructured Optical Filters Rendered Insensitive to Humidity by Vapor‐Phase Functionalization