Construction of near-infrared photonic crystal glucose-sensing materials for ratiometric sensing of glucose in tears