Molecularly imprinted photonic hydrogels as colorimetric sensors for rapid and label-free detection of vanillin.