A microstructure for the detection of vapor-phase analytes based on orientational transitions of liquid crystals