Optical sensing of mechanical pressure based on diffusion measurement in polyacrylamide cell-like barometers.