Color-changing refractive index sensor based on Fano-resonant filtering of optical modes in a porous dielectric Fabry-Pérot microcavity.