Kinetics of the micromirror chemical sensor